import request from '@/utils/request'

// 查询科技成果列表
export function listScientificInfo(query) {
  return request({
    url: '/tcsp/scientificInfo/list',
    method: 'get',
    params: query
  })
}

// 查询科技成果详细
export function getScientificInfo(scientificId) {
  return request({
    url: '/tcsp/scientificInfo/' + scientificId,
    method: 'get'
  })
}

// 新增科技成果
export function addScientificInfo(data) {
  return request({
    url: '/tcsp/scientificInfo',
    method: 'post',
    data: data
  })
}

// 修改科技成果
export function updateScientificInfo(data) {
  return request({
    url: '/tcsp/scientificInfo',
    method: 'put',
    data: data
  })
}

// 删除科技成果
export function delScientificInfo(scientificId) {
  return request({
    url: '/tcsp/scientificInfo/' + scientificId,
    method: 'delete'
  })
}

// 查询科技成果详细
export function getSciEvalList(scienId) {
  return request({
    url: '/tcsp/sciEval/' + scienId,
    method: 'get'
  })
}

